package com.hsp.throws_;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Throws01 {
    public static void main(String[] args) {

    }
    //读文件可能产生FileNotFoundException的异常
    public static void f1() throws FileNotFoundException {

        FileInputStream fil = new FileInputStream("sdfsdf");

    }
}

